﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MvcMovie.Models
{
    public class User
    {
        public virtual int Id { get; set; }
        [Required(ErrorMessage="Username must be not blank")]
        public virtual string Username { get; set; }
        [Required(ErrorMessage="Password is necessary")]
        public virtual string password { get; set; }

    }
}